package com.lagou.com.lagou.homework.Modules2.item3;

/**
 * 枚举
 */
public enum CardEnum {
    BIG("大卡"),SML("小卡"),WXK("微型卡");
    private final String desc;
    private CardEnum(String dese) {
        //通过构造方法成员变量的初始化
        this.desc = dese;
    }


    //通过get方法可以在本类的外部访问
    public String getDesc() {
        return desc;
    }
}
